package ethan;

/**
 * author ethan
 * create 2018-03-23 下午12:03
 * desc
 **/
public class Context {
    private Strategy strategy;

    public Context(Strategy strategy) {
        this.strategy = strategy;
    }

    public OrderDetails getData(String orderNo){
        return strategy.getOrderDetails(orderNo);
    }
}
